home *** CD-ROM | disk | FTP | other *** search
/ Windows Game Programming for Dummies (2nd Edition) / WinGamProgFD.iso / mac / DirectX SDK / DXSDK / samples / Multimedia / Direct3D / Screensavers / Moire / moire.rc < prev    next >
Text File  |  2001-10-08  |  12KB  |  288 lines

  1. //Microsoft Developer Studio generated resource script.
  2. //
  3. #include "resource.h"
  4.  
  5. #define APSTUDIO_READONLY_SYMBOLS
  6. /////////////////////////////////////////////////////////////////////////////
  7. //
  8. // Generated from the TEXTINCLUDE 2 resource.
  9. //
  10. #define IDC_STATIC -1
  11. #include <windows.h>
  12.  
  13.  
  14.  
  15. /////////////////////////////////////////////////////////////////////////////
  16. #undef APSTUDIO_READONLY_SYMBOLS
  17.  
  18. /////////////////////////////////////////////////////////////////////////////
  19. // English (U.S.) resources
  20.  
  21. #if !defined(AFX_RESOURCE_DLL) || defined(AFX_TARG_ENU)
  22. #ifdef _WIN32
  23. LANGUAGE LANG_ENGLISH, SUBLANG_ENGLISH_US
  24. #pragma code_page(1252)
  25. #endif //_WIN32
  26.  
  27. /////////////////////////////////////////////////////////////////////////////
  28. //
  29. // Icon
  30. //
  31.  
  32. // Icon with lowest ID value placed first to ensure application icon
  33. // remains consistent on all systems.
  34. IDI_MAIN_ICON           ICON    DISCARDABLE     "app.ico"
  35.  
  36. #ifdef APSTUDIO_INVOKED
  37. /////////////////////////////////////////////////////////////////////////////
  38. //
  39. // TEXTINCLUDE
  40. //
  41.  
  42. 1 TEXTINCLUDE DISCARDABLE 
  43. BEGIN
  44.     "resource.h\0"
  45. END
  46.  
  47. 2 TEXTINCLUDE DISCARDABLE 
  48. BEGIN
  49.     "#define IDC_STATIC -1\r\n"
  50.     "#include <windows.h>\r\n"
  51.     "\r\n"
  52.     "\r\n"
  53.     "\0"
  54. END
  55.  
  56. 3 TEXTINCLUDE DISCARDABLE 
  57. BEGIN
  58.     "\r\n"
  59.     "\0"
  60. END
  61.  
  62. #endif    // APSTUDIO_INVOKED
  63.  
  64.  
  65. /////////////////////////////////////////////////////////////////////////////
  66. //
  67. // DESIGNINFO
  68. //
  69.  
  70. #ifdef APSTUDIO_INVOKED
  71. GUIDELINES DESIGNINFO DISCARDABLE 
  72. BEGIN
  73.     IDD_CONFIGURE, DIALOG
  74.     BEGIN
  75.         LEFTMARGIN, 7
  76.         RIGHTMARGIN, 182
  77.         TOPMARGIN, 7
  78.         BOTTOMMARGIN, 227
  79.     END
  80.  
  81.     IDD_SINGLEMONITORSETTINGS, DIALOG
  82.     BEGIN
  83.         LEFTMARGIN, 7
  84.         TOPMARGIN, 7
  85.         BOTTOMMARGIN, 90
  86.     END
  87.  
  88.     IDD_MULTIMONITORSETTINGS, DIALOG
  89.     BEGIN
  90.         LEFTMARGIN, 7
  91.         RIGHTMARGIN, 252
  92.         TOPMARGIN, 7
  93.         BOTTOMMARGIN, 273
  94.     END
  95. END
  96. #endif    // APSTUDIO_INVOKED
  97.  
  98.  
  99. /////////////////////////////////////////////////////////////////////////////
  100. //
  101. // Dialog
  102. //
  103.  
  104. IDD_CONFIGURE DIALOG DISCARDABLE  0, 0, 189, 234
  105. STYLE DS_MODALFRAME | DS_CENTER | WS_POPUP | WS_CAPTION | WS_SYSMENU
  106. CAPTION "Moire Settings"
  107. FONT 8, "MS Shell Dlg"
  108. BEGIN
  109.     DEFPUSHBUTTON   "OK",IDOK,71,214,50,14
  110.     PUSHBUTTON      "Cancel",IDCANCEL,127,214,50,14
  111.     PUSHBUTTON      "&Display Settings...",IDC_SCREENSETTINGS,44,18,102,14
  112.     GROUPBOX        "&Animation Speed",IDC_STATIC,10,47,168,56
  113.     CONTROL         "Slider1",IDC_SPEED,"msctls_trackbar32",TBS_AUTOTICKS | 
  114.                     WS_TABSTOP,21,60,147,22
  115.     LTEXT           "Slow",IDC_STATIC,23,82,16,8
  116.     LTEXT           "Fast",IDC_STATIC,152,82,14,8
  117.     GROUPBOX        "Color Type",IDC_STATIC,10,110,168,29
  118.     CONTROL         "&Intense",IDC_INTENSE,"Button",BS_AUTORADIOBUTTON | 
  119.                     WS_TABSTOP,16,123,65,10
  120.     CONTROL         "&Pastel",IDC_PASTEL,"Button",BS_AUTORADIOBUTTON,91,122,
  121.                     73,10
  122.     GROUPBOX        "&Options",IDC_STATIC,10,145,168,62
  123.     LTEXT           "Change Shape Every",IDC_STATIC,18,157,77,8
  124.     EDITTEXT        IDC_MESHINTERVAL,102,154,25,14,ES_AUTOHSCROLL | 
  125.                     ES_NUMBER
  126.     LTEXT           "seconds",IDC_STATIC,134,157,28,8
  127.     LTEXT           "Change Colors Every",IDC_STATIC,18,173,77,8
  128.     EDITTEXT        IDC_COLORINTERVAL,102,170,25,14,ES_AUTOHSCROLL | 
  129.                     ES_NUMBER
  130.     LTEXT           "seconds",IDC_STATIC,134,173,28,8
  131.     LTEXT           "Change Texture Every",IDC_STATIC,18,189,77,8
  132.     EDITTEXT        IDC_TEXTUREINTERVAL,102,186,25,14,ES_AUTOHSCROLL | 
  133.                     ES_NUMBER
  134.     LTEXT           "seconds",IDC_STATIC,134,189,28,8
  135.     GROUPBOX        "Display Settings",IDC_STATIC,10,4,168,37
  136. END
  137.  
  138. IDD_SINGLEMONITORSETTINGS DIALOG DISCARDABLE  0, 0, 255, 170
  139. STYLE DS_MODALFRAME | WS_POPUP | WS_CAPTION | WS_SYSMENU
  140. CAPTION "Display Settings"
  141. FONT 8, "MS Shell Dlg"
  142. BEGIN
  143.     GROUPBOX        "Video adapter",IDC_STATIC,7,7,241,69
  144.     LTEXT           "Name:",IDC_STATIC,13,18,33,8
  145.     LTEXT           "",IDC_ADAPTERNAME,57,18,159,8
  146.     LTEXT           "Rendering:",IDC_STATIC,13,31,36,8
  147.     LTEXT           "",IDC_RENDERING,57,31,130,17
  148.     PUSHBUTTON      "&Help",IDC_MOREINFO,194,33,50,14
  149.     CONTROL         "&Disable hardware 3D rendering",IDC_DISABLEHW,"Button",
  150.                     BS_AUTOCHECKBOX | WS_TABSTOP,14,54,215,10
  151.     GROUPBOX        "Display mode",IDC_DISPLAYMODEBOX,7,84,241,55
  152.     LTEXT           "Display &mode for this video adapter:",IDC_MODESSTATIC,
  153.                     13,95,126,8
  154.     COMBOBOX        IDC_MODESCOMBO,144,93,100,133,CBS_DROPDOWNLIST | 
  155.                     WS_VSCROLL | WS_TABSTOP
  156.     LTEXT           "Note: The Automatic display mode finds a mode that works well with your current screen saver settings and video adapter.",
  157.                     IDC_DISPLAYMODENOTE,13,109,227,27
  158.     LTEXT           "Automatic",IDC_AUTOMATIC,184,126,32,8,NOT WS_VISIBLE
  159.     LTEXT           "%d by %d, %d bit color",IDC_MODEFMT,13,152,71,8,NOT 
  160.                     WS_VISIBLE
  161.     DEFPUSHBUTTON   "OK",IDOK,143,148,50,14
  162.     PUSHBUTTON      "Cancel",IDCANCEL,197,148,50,14
  163. END
  164.  
  165. IDD_MULTIMONITORSETTINGS DIALOG DISCARDABLE  0, 0, 270, 281
  166. STYLE DS_MODALFRAME | WS_POPUP | WS_CAPTION | WS_SYSMENU
  167. CAPTION "Display Settings"
  168. FONT 8, "MS Shell Dlg"
  169. BEGIN
  170.     LTEXT           "Monitor %d",IDC_TABNAMEFMT,214,8,32,8,NOT WS_VISIBLE
  171.     GROUPBOX        "Video adapter",IDC_STATIC,13,23,244,65
  172.     LTEXT           "Name:",IDC_STATIC,19,35,40,8
  173.     LTEXT           "",IDC_ADAPTERNAME,65,35,168,8
  174.     LTEXT           "Rendering:",IDC_STATIC,19,48,40,8
  175.     LTEXT           "",IDC_RENDERING,65,48,132,17
  176.     PUSHBUTTON      "&Help",IDC_MOREINFO,202,49,50,14
  177.     CONTROL         "&Disable hardware 3D rendering on this monitor",
  178.                     IDC_DISABLEHW,"Button",BS_AUTOCHECKBOX | WS_TABSTOP,19,
  179.                     71,215,10
  180.     GROUPBOX        "Monitor usage",IDC_SCREENUSAGEBOX,13,94,244,44
  181.     CONTROL         "Display &screen saver on this monitor",IDC_RENDER,
  182.                     "Button",BS_AUTORADIOBUTTON,19,107,200,10
  183.     CONTROL         "Display ¬hing on this monitor",IDC_LEAVEBLACK,"Button",
  184.                     BS_AUTORADIOBUTTON,19,120,200,10
  185.     GROUPBOX        "Display mode",IDC_DISPLAYMODEBOX,13,146,244,55
  186.     LTEXT           "Display &mode for this video adapter:",IDC_MODESSTATIC,
  187.                     19,158,126,8
  188.     COMBOBOX        IDC_MODESCOMBO,152,156,100,133,CBS_DROPDOWNLIST | 
  189.                     WS_VSCROLL | WS_TABSTOP
  190.     LTEXT           "Note: The Automatic display mode finds a mode that works well with your current screen saver settings and video adapter.",
  191.                     IDC_DISPLAYMODENOTE,19,173,232,22
  192.     LTEXT           "Automatic",IDC_AUTOMATIC,193,182,32,8,NOT WS_VISIBLE
  193.     LTEXT           "%d by %d, %d bit color",IDC_MODEFMT,7,265,71,8,NOT 
  194.                     WS_VISIBLE
  195.     DEFPUSHBUTTON   "OK",IDOK,159,259,50,14
  196.     PUSHBUTTON      "Cancel",IDCANCEL,213,259,50,14
  197.     GROUPBOX        "General Monitor Settings",IDC_GENERALBOX,7,214,256,32
  198.     CONTROL         "Render same &image on all monitors",IDC_SAME,"Button",
  199.                     BS_AUTOCHECKBOX | WS_TABSTOP,22,227,210,10
  200.     CONTROL         "Tab1",IDC_MONITORSTAB,"SysTabControl32",WS_TABSTOP,7,7,
  201.                     256,201
  202. END
  203.  
  204.  
  205. /////////////////////////////////////////////////////////////////////////////
  206. //
  207. // DDS
  208. //
  209.  
  210. IDR_STRIPES_DDS         DDS     DISCARDABLE     "stripes.dds"
  211. IDR_BALL_DDS            DDS     DISCARDABLE     "ball.dds"
  212. IDR_NOISE_DDS           DDS     DISCARDABLE     "noise.dds"
  213. IDR_SPIRAL_DDS          DDS     DISCARDABLE     "spiral.dds"
  214.  
  215. /////////////////////////////////////////////////////////////////////////////
  216. //
  217. // String Table
  218. //
  219.  
  220. STRINGTABLE DISCARDABLE 
  221. BEGIN
  222.     IDS_DESCRIPTION         "Moire Screensaver"
  223. END
  224.  
  225. STRINGTABLE PRELOAD DISCARDABLE 
  226. BEGIN
  227.     IDS_ERR_GENERIC         "There was an unspecified problem with this screen saver."
  228.     IDS_ERR_NODIRECT3D      "Direct3D 8.0 could not be initialized.  Please install the latest version of DirectX."
  229.     IDS_ERR_NOWINDOWEDHAL   "Could not initialize the screen saver."
  230.     IDS_ERR_CREATEDEVICEFAILED "Could not create the Direct3D device."
  231.     IDS_ERR_NOCOMPATIBLEDEVICES 
  232.                             "Could not find any compatible Direct3D devices."
  233.     IDS_ERR_NOHARDWAREDEVICE 
  234.                             "No hardware-accelerated Direct3D devices were found."
  235.     IDS_ERR_HALNOTCOMPATIBLE 
  236.                             "This screen saver requires functionality that is not available on your Direct3D hardware accelerator."
  237.     IDS_ERR_NOHALTHISMODE   "This screen saver requires functionality that is not available on your Direct3D hardware accelerator with the current desktop display settings."
  238.     IDS_ERR_MEDIANOTFOUND   "Could not load required media."
  239.     IDS_ERR_RESIZEFAILED    "Could not reset the Direct3D device."
  240.     IDS_ERR_OUTOFMEMORY     "Not enough memory."
  241.     IDS_ERR_OUTOFVIDEOMEMORY "Not enough video memory."
  242. END
  243.  
  244. STRINGTABLE PRELOAD DISCARDABLE 
  245. BEGIN
  246.     IDS_ERR_NOPREVIEW       "No preview available"
  247. END
  248.  
  249. STRINGTABLE DISCARDABLE 
  250. BEGIN
  251.     IDS_INFO_GOODHAL        "This video adapter supports hardware 3D rendering.  This screen saver can be displayed on this monitor."
  252.     IDS_INFO_BADHAL_GOODSW  "This video adapter supports hardware 3D rendering, but this screensaver requires functionality not available in hardware.  A software renderer will be used instead.  This screen saver can be displayed on this monitor."
  253.     IDS_INFO_BADHAL_BADSW   "This video adapter supports hardware 3D rendering, but this screensaver requires functionality not available in hardware or software.  This screen saver cannot be displayed on this monitor."
  254.     IDS_INFO_BADHAL_NOSW    "This video adapter supports hardware 3D rendering, but this screensaver requires functionality not available in hardware.  No software renderer is available.  This screen saver cannot be displayed on this monitor."
  255.     IDS_INFO_NOHAL_GOODSW   "This video adapter does not support hardware 3D rendering.  A software renderer will be used instead.  This screen saver can be displayed on this monitor."
  256.     IDS_INFO_NOHAL_BADSW    "This video adapter does not support hardware 3D rendering.  This screensaver requires functionality not available in the software renderer.  This screen saver cannot be displayed on this monitor."
  257.     IDS_INFO_NOHAL_NOSW     "This video adapter does not support hardware 3D rendering.  No software renderer is available.  This screen saver cannot be displayed on this monitor."
  258.     IDS_INFO_DISABLEDHAL_GOODSW 
  259.                             "The video adapter supports hardware 3D rendering, but it has been disabled.  A software renderer will be used instead.  This screen saver can be displayed on this monitor."
  260. END
  261.  
  262. STRINGTABLE DISCARDABLE 
  263. BEGIN
  264.     IDS_INFO_DISABLEDHAL_BADSW 
  265.                             "This video adapter supports hardware 3D rendering, but it has been disabled.  This screensaver requires functionality not available in the software renderer.  This screen saver cannot be displayed on this monitor."
  266.     IDS_INFO_DISABLEDHAL_NOSW 
  267.                             "This video adapter supports hardware 3D rendering, but it has been disabled.  No software renderer is available.  This screen saver cannot be displayed on this monitor."
  268.     IDS_RENDERING_HAL       "The screen saver can use hardware 3D rendering on this monitor."
  269.     IDS_RENDERING_SW        "The screen saver can use software 3D rendering on this monitor."
  270.     IDS_RENDERING_NONE      "The screen saver cannot be displayed on this monitor."
  271. END
  272.  
  273. #endif    // English (U.S.) resources
  274. /////////////////////////////////////////////////////////////////////////////
  275.  
  276.  
  277.  
  278. #ifndef APSTUDIO_INVOKED
  279. /////////////////////////////////////////////////////////////////////////////
  280. //
  281. // Generated from the TEXTINCLUDE 3 resource.
  282. //
  283.  
  284.  
  285. /////////////////////////////////////////////////////////////////////////////
  286. #endif    // not APSTUDIO_INVOKED
  287.  
  288.